    /*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package org.sbbs.flux.example;

import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 *
 * @author MACHENIKE
 */
@RestController
public class ExampleController {

	@PostMapping(path = "/",
			consumes = { MediaType.APPLICATION_JSON_VALUE, "!application/xml" },
			produces = MediaType.TEXT_PLAIN_VALUE, headers = "X-Custom=Foo",
			params = "a!=alpha")
	public String example() {
		return "Hello World";
	}

}